package decoratorpattern;
/**
 * 抽象的手机装饰者类
 * MobileDecorator.java
 * @author yaojinshan
 * @since 2017年6月19日 上午11:57:39
 *
 */
public abstract class MobileDecorator implements Mobile {
	protected Mobile mobileDecorator;
	
	public MobileDecorator(Mobile mobileDecorator) {
		this.mobileDecorator = mobileDecorator;
	}

	@Override
	public void mobileName() {
		mobileDecorator.mobileName();
	}

}
